<?php

class Developer_IndexController extends Zend_Controller_Action
{

    public function init()
    {
        $options = array(
        		'layout'=>'layout',
        		'layoutPath'=>LAYOUT_PATH."/developer"
        );
        Zend_Layout::startMvc($options);
        
        $this->view->headLink()->appendStylesheet(LAYOUT_URL.'/min/g=cssDev');
        $this->view->headScript()->appendFile(LAYOUT_URL.'/min/g=jsDevIndex');
    }
    public function preDispatch()
    {
        $auth = Zend_Auth::getInstance();
        $auth->setStorage(new Zend_Auth_Storage_Session('developer'));
        
        if (!$auth->hasIdentity()) {
    
            $this->_helper->redirector->gotoUrl('developer/user/login');
        }
    
    }
    public function indexAction()
    {

        
        
    }


}

